package day9;

public class jiekou {
    public static void main(String[] args) {
        useAddable((int x,int y)->{
            return x+y;
        });
    }
    public  static  void useAddable(Addable a){
        int sum=a.add(10,20);
        System.out.println(sum);

    }

}
 interface  Addable{
    int add(int x,int y);
}
